﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BridgePattern.Bridge
{
    public class MiBridge : BasePhoneBridge
    {
        public MiBridge(ISystem system)
        {
            base.System = system;
        }

        public override void Call()
        {
            Console.WriteLine("Use {0} System {1} Call", this.GetType().Name, this.System.System());
        }

        public override void Text()
        {
            Console.WriteLine("Use {0} System {1} Text", this.GetType().Name, this.System.System());
        }
    }
}
